/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.documentary.dependencies.rank;


import com.yiqi.lottery.feature.documentary.contract.PersonContract;
import com.yiqi.lottery.feature.documentary.contract.RankContract;
import com.yiqi.lottery.feature.documentary.presenter.PersonPresenter;
import com.yiqi.lottery.feature.documentary.presenter.RankPresenter;
import dagger.Module;
import dagger.Provides;

@Module
public class RankPresenterModule {
    private final RankContract.View mView;

    public RankPresenterModule(RankContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public RankContract.Presenter providePersonPresenter(){
        return  new RankPresenter(mView);
    }

}
